package com.starlink.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.starlink.common.domain.BaseVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author zhanghong
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@ApiModel("积分商品响应模型")
public class MallIntegrationVO extends BaseVO implements Serializable {
    @ApiModelProperty("运费模板ID")
    private Long freeTemplateId;
    @ApiModelProperty("商品名称")
    private String title;
    @ApiModelProperty("商品图片")
    private String picture;
    @ApiModelProperty("RAS商品ID")
    private Long rasGoodsId;
    @ApiModelProperty("商品ID")
    private Long articlesId;
    @ApiModelProperty("规格ID")
    private Long specificationId;
    @ApiModelProperty("支付类型 1积分支付 2积分+钱")
    private Integer paymentType;
    @ApiModelProperty("积分价格")
    private Long integralPrice;
    @ApiModelProperty("金钱价格")
    private BigDecimal price;
    @ApiModelProperty("兑换库存")
    private Long exchangeInventory;
    @ApiModelProperty("剩余库存")
    private Long surplusInventory;
    @ApiModelProperty("商品类别 1书籍 2周边")
    private Integer articlesCategory;
    @ApiModelProperty("是否上架 0否 1是")
    private Integer onTheShelf;


    @ApiModelProperty("周边商品详情")
    private String peripheryInfo;
    @ApiModelProperty("简介")
    private String description;
    @ApiModelProperty("作者介绍")
    private String introduction;
    @ApiModelProperty("收获")
    private String harvest;
    @ApiModelProperty("阅读准备")
    private String ready;
    @ApiModelProperty("看一看")
    private String look;
    @ApiModelProperty("读一读")
    private String read;
    @ApiModelProperty("规格")
    private String specification;
}
